package com.cmc.cloud.cmclink.doc.constants.errorconstant;

import com.cmes.framework.common.exception.ErrorCode;

/**
 * SO批舱错误码
 * 
 * @author dev89
 * @date 2025/07/29 16:56
 **/
public class SoApproveSpaceErrorCodeConstants {
    public static final ErrorCode SO_STATUS_NOT_SATISFIABLE =
        new ErrorCode(1004202001, "so status 为Booking Processing或者Booking Pending for Space才能进行这个操作");

    public static final ErrorCode SO_VESSEL_EMPTY = new ErrorCode(1004202002, "请求参数vessel,voyage,pol不能为空");

    public static final ErrorCode SO_REJECT_STATUS_NOT_SATISFIABLE =
        new ErrorCode(1004202005, "so status 为Booking Processing或者Booking Pending for Space才能进行这个操作");

    public static final ErrorCode SO_PENDING_STATUS_NOT_SATISFIABLE =
        new ErrorCode(1004202006, "so status 为Booking Processing才能进行这个操作");

    public static final ErrorCode SO_APPROVE_OR_REJECT_NOT_ALLOWED =
        new ErrorCode(1004202007, "approve或者rejected不允许再次审批");

    public static final ErrorCode SO_APPROVE_AUTO_PROCESSING = new ErrorCode(1004202010, "自动批舱处理中不允许手动批舱，请稍后再试");

    public static final ErrorCode SO_REPEATED_PENDING_ON_SPACE = new ErrorCode(1004202008, "重复待定批舱");

    public static final ErrorCode SO_BKG_BATCH_UPDATE_REPEAT = new ErrorCode(1004202009, "修改BKG，保存数据表失败，确认是否唯一键冲突");

    public static final ErrorCode VOYAGE_BSA_CBA_NOT_EXIST = new ErrorCode(1004202020, "voyage_bsa_cba表数据不存在");

    public static final ErrorCode TEU_OR_RF_LARGER_THAN_ALL = new ErrorCode(1004202021, "剩余teu或者rf归还后超过总数");
}
